package twel.probenprophet.helden.heroes.helden5.jaxb;

import java.util.Collection;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "helden")
@XmlAccessorType(XmlAccessType.FIELD)
public class HeldenRootElement {

	@XmlAttribute(name = "Version")
	private String version = "5.1.3";

	@XmlElement(name = "held")
	private Collection<Hero> heroes;

	public String getVersion() {
		return version;
	}

	public Collection<Hero> getHeroes() {
		return heroes;
	}

	public void setHeroes(Collection<Hero> heroes) {
		this.heroes = heroes;
	}

}
